﻿namespace QLPhongKham.Report
{
    using DevExpress.Utils;
    using DevExpress.XtraPrinting;
    using DevExpress.XtraReports.UI;
    using System;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;

    public class repx_inphieuchidinh : XtraReport
    {
        private BottomMarginBand BottomMargin;
        private IContainer components = null;
        private DetailBand Detail;
        private TopMarginBand TopMargin;
        private XRLabel xrLabel1;
        private XRLabel xrLabel2;
        private XRLabel xrLabel3;
        private XRLabel xrLabel4;
        private XRTable xrTable1;
        private XRTableCell xrTableCell1;
        private XRTableCell xrTableCell2;
        private XRTableCell xrTableCell3;
        private XRTableCell xrTableCell4;
        private XRTableRow xrTableRow1;

        public repx_inphieuchidinh()
        {
            this.InitializeComponent();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            this.Detail = new DetailBand();
            this.TopMargin = new TopMarginBand();
            this.BottomMargin = new BottomMarginBand();
            this.xrLabel1 = new XRLabel();
            this.xrLabel2 = new XRLabel();
            this.xrLabel3 = new XRLabel();
            this.xrLabel4 = new XRLabel();
            this.xrTable1 = new XRTable();
            this.xrTableRow1 = new XRTableRow();
            this.xrTableCell1 = new XRTableCell();
            this.xrTableCell2 = new XRTableCell();
            this.xrTableCell3 = new XRTableCell();
            this.xrTableCell4 = new XRTableCell();
            this.xrTable1.BeginInit();
            this.BeginInit();
            this.Detail.Controls.AddRange(new XRControl[] { this.xrTable1 });
            this.Detail.HeightF = 25f;
            this.Detail.Name = "Detail";
            this.Detail.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.Detail.TextAlignment = TextAlignment.TopLeft;
            this.TopMargin.Name = "TopMargin";
            this.TopMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.TopMargin.TextAlignment = TextAlignment.TopLeft;
            this.BottomMargin.Name = "BottomMargin";
            this.BottomMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.BottomMargin.TextAlignment = TextAlignment.TopLeft;
            this.xrLabel1.BorderWidth = 0;
            this.xrLabel1.DataBindings.AddRange(new XRBinding[] { new XRBinding("Text", null, "Table.tenvp") });
            this.xrLabel1.LocationFloat = new PointFloat(0f, 0f);
            this.xrLabel1.Name = "xrLabel1";
            this.xrLabel1.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel1.SizeF = new SizeF(418.75f, 22.29167f);
            this.xrLabel1.StylePriority.UseBorderWidth = false;
            this.xrLabel1.Text = "xrLabel1";
            this.xrLabel2.BorderWidth = 0;
            this.xrLabel2.DataBindings.AddRange(new XRBinding[] { new XRBinding("Text", null, "Table.dvt") });
            this.xrLabel2.LocationFloat = new PointFloat(0f, 0f);
            this.xrLabel2.Name = "xrLabel2";
            this.xrLabel2.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel2.SizeF = new SizeF(63.54147f, 23f);
            this.xrLabel2.StylePriority.UseBorderWidth = false;
            this.xrLabel2.Text = "xrLabel2";
            this.xrLabel3.BorderWidth = 0;
            this.xrLabel3.DataBindings.AddRange(new XRBinding[] { new XRBinding("Text", null, "Table.soluong") });
            this.xrLabel3.LocationFloat = new PointFloat(5.435944E-05f, 0f);
            this.xrLabel3.Name = "xrLabel3";
            this.xrLabel3.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel3.SizeF = new SizeF(59.37515f, 22.29167f);
            this.xrLabel3.StylePriority.UseBorderWidth = false;
            this.xrLabel3.Text = "xrLabel3";
            this.xrLabel4.BorderWidth = 0;
            this.xrLabel4.DataBindings.AddRange(new XRBinding[] { new XRBinding("Text", null, "Table.thanhtien") });
            this.xrLabel4.LocationFloat = new PointFloat(6.357829E-05f, 0f);
            this.xrLabel4.Name = "xrLabel4";
            this.xrLabel4.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel4.SizeF = new SizeF(88.33331f, 23f);
            this.xrLabel4.StylePriority.UseBorderWidth = false;
            this.xrLabel4.Text = "xrLabel4";
            this.xrTable1.LocationFloat = new PointFloat(10.00001f, 0f);
            this.xrTable1.Name = "xrTable1";
            this.xrTable1.Rows.AddRange(new XRTableRow[] { this.xrTableRow1 });
            this.xrTable1.SizeF = new SizeF(640f, 25f);
            this.xrTableRow1.Borders = BorderSide.All;
            this.xrTableRow1.Cells.AddRange(new XRTableCell[] { this.xrTableCell1, this.xrTableCell2, this.xrTableCell3, this.xrTableCell4 });
            this.xrTableRow1.Name = "xrTableRow1";
            this.xrTableRow1.StylePriority.UseBorders = false;
            this.xrTableRow1.Weight = 1.0;
            this.xrTableCell1.BorderDashStyle = BorderDashStyle.Solid;
            this.xrTableCell1.Controls.AddRange(new XRControl[] { this.xrLabel1 });
            this.xrTableCell1.Name = "xrTableCell1";
            this.xrTableCell1.StylePriority.UseBorderDashStyle = false;
            this.xrTableCell1.Text = "xrTableCell1";
            this.xrTableCell1.Weight = 3.1406251525878903;
            this.xrTableCell2.Controls.AddRange(new XRControl[] { this.xrLabel3 });
            this.xrTableCell2.Name = "xrTableCell2";
            this.xrTableCell2.Text = "xrTableCell2";
            this.xrTableCell2.Weight = 0.44531364440917964;
            this.xrTableCell3.Controls.AddRange(new XRControl[] { this.xrLabel2 });
            this.xrTableCell3.Name = "xrTableCell3";
            this.xrTableCell3.Text = "xrTableCell3";
            this.xrTableCell3.Weight = 0.476561050415039;
            this.xrTableCell4.Controls.AddRange(new XRControl[] { this.xrLabel4 });
            this.xrTableCell4.Name = "xrTableCell4";
            this.xrTableCell4.Text = "xrTableCell4";
            this.xrTableCell4.Weight = 0.73750015258789059;
            base.Bands.AddRange(new Band[] { this.Detail, this.TopMargin, this.BottomMargin });
            base.Version = "12.2";
            this.XmlDataPath = @"F:\Project\phongmach_2012\QLPhongMach\QLPhongMach\bin\Debug\chidinh.xml";
            this.xrTable1.EndInit();
            this.EndInit();
        }

        public void Load(DataSet ds)
        {
            base.DataSource = ds;
        }
    }
}

